projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb0d286
)
(Vfunction_key_map): Docstring fix: mention that bindings can be functions.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Dec 2005 15:46:13 +0000
(15:46 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Dec 2005 15:46:13 +0000
(15:46 +0000)
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 4583d3121df70cebf126dc68b54d97bce4252cd1..74a1cc1502407b0ece81eaccebe27d25c0b77466 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-3851,6
+3851,9
@@
keymaps have no binding for the current key sequence but
`read-key-sequence' replaces the matching suffix with its binding, and
continues with the new sequence.
+If the binding is a function, it is called with one argument (the prompt)
+and its return value (a key sequence) is used.
+
The events that come from bindings in `function-key-map' are not
themselves looked up in `function-key-map'.